/*
 * @Author: minglic minglic@foxmail.com
 * @Date: 2023-10-21 15:09:55
 * @LastEditors: minglic minglic@foxmail.com
 * @LastEditTime: 2023-10-21 15:20:04
 * @FilePath: \go2023\cmd\web\vue-element-admin\src\api\site.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

export function list(data) {
    return request({
        url: '/sw/site/list',
        method: 'post',
        data
    })
}

export function create(data) {
    return request({
        url: '/sw/site/create',
        method: 'post',
        data
    })
}

export function update(data) {
    return request({
        url: '/sw/site/update',
        method: 'post',
        data
    })
}

export function remove(data) {
    return request({
        url: '/sw/site/delete',
        method: 'post',
        data
    })
}

